var toolsetCommonEs=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./public_src/frontend.js")}({"./public_src/frontend.js":function(e,t,n){"use strict";n.r(t),n.d(t,"Masonry",(function(){return r.a})),n.d(t,"styleToHead",(function(){return o})),n.d(t,"fontToHead",(function(){return i}));var r=n("./public_src/utils/masonry/index.js"),o=function(){var e=document.getElementById("toolset-blocks-styling");e||(document.head.insertAdjacentHTML("beforeend",'<style id="toolset-blocks-styling"></style>'),e=document.getElementById("toolset-blocks-styling"));var t=document.getElementsByClassName("tces-js-style-encoded"),n=t.length?t[t.length-1]:null;if(e&&n){var r=e.innerHTML,o=window.atob(n.innerHTML);-1!==r.indexOf(o)||(-1!==o.indexOf(r)?e.innerHTML=o:e.appendChild(document.createTextNode(o)))}for(;t[0];)t[0].parentNode.removeChild(t[0]);for(var i=document.getElementsByClassName("tces-js-style-to-head");i[0];)i[0].parentNode.removeChild(i[0])},i=function(){var e=document.getElementsByClassName("tces-js-font-encoded"),t=e.length?e[e.length-1]:null;if(t){var n="https://fonts.googleapis.com/css?family="+window.atob(t.innerHTML).split("###").join("|");if(!document.querySelector("link[href='"+n+"']")){var r=document.createElement("link");r.href=n,r.rel="stylesheet",document.head.appendChild(r)}}for(;e[0];)e[0].parentNode.removeChild(e[0]);for(var o=document.getElementsByClassName("tces-js-font-to-head");o[0];)o[0].parentNode.removeChild(o[0])}},"./public_src/utils/masonry/index.js":function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=function(){function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t){this.CHROME_MAX_NUMBER_ROWS=1e3,this.CHROME_MAX_ROW_SPAN=1e3,this.root=t,this.resizeAllGridItems();var r=Array.from(this.root.querySelectorAll("img")),o=r.length,i=0;r.forEach((function(e){e.addEventListener("load",(function(){++i===o&&n.resizeAllGridItems()}))})),window.addEventListener("resize",this.resizeAllGridItems.bind(this)),window.addEventListener("load",this.resizeAllGridItems.bind(this))}}var t,n,o;return t=e,(n=[{key:"resizeGridItem",value:function(e,t){var n=window.getComputedStyle(this.root),r=parseInt(n.getPropertyValue("grid-row-gap")),o=e.querySelector(".tb-brick__content");if(o){var i=Math.ceil(o.getBoundingClientRect().height+r),l=Math.ceil(i/t);e.style.gridRowEnd="span ".concat(l)}}},{key:"getMaxItemsHeight",value:function(e){return e.children.length?Array.from(e.children).reduce((function(e,t){return Math.max(e||0,(t.querySelector(".tb-brick__content")||{}).offsetHeight)})):0}},{key:"getMultiplier",value:function(e){var t=window.getComputedStyle(e).gridTemplateColumns.split(" ").length,n=Math.ceil(e.children.length/t),r=this.getMaxItemsHeight(e);if(r>this.CHROME_MAX_ROW_SPAN||n*r>this.CHROME_MAX_NUMBER_ROWS){var o=Math.floor(r*n/this.CHROME_MAX_ROW_SPAN)+1;return e.style.gridAutoRows="".concat(o,"px"),o}return e.style.gridAutoRows="1px",1}},{key:"resizeAllGridItems",value:function(){var e=this;if(this.root){var t=this.getMultiplier(this.root);Array.from(this.root.children).forEach((function(n){return e.resizeGridItem(n,t)}))}}}])&&r(t.prototype,n),o&&r(t,o),e}();t.a=o}});